﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;

namespace Himp.DataHub
{
    /// <summary>
    /// 临床诊断字典
    /// </summary>
    public class ClncDiagDict : Entity<Guid>, IMultiTenant, ISoftDelete
    {
        /// <summary>
        /// 诊断编码
        /// </summary>
        public string DiagCode { get; set; }

        /// <summary>
        /// 诊断名称
        /// </summary>
        public string DiagName { get; set; }

        /// <summary>
        /// 医保诊断编码
        /// </summary>
        public string? HiDiagCode { get; set; }

        /// <summary>
        /// 医保诊断名称
        /// </summary>
        public string? HIDiagName { get; set; }

        /// <summary>
        /// 国标版诊断代码
        /// </summary>
        public string? ICD10Codg { get; set; }

        /// <summary>
        /// 国标版诊断名称
        /// </summary>
        public string? ICD10Name { get; set; }

        /// <summary>
        /// 版本号
        /// </summary>
        public int Ver { get; set; }

        /// <summary>
        /// 拼音助记码
        /// </summary>
        public string? Pinyincode { get; set; }

        /// <summary>
        /// 五笔助记码
        /// </summary>
        public string? Wubicode { get; set; }

        /// <summary>
        /// 有效标识
        /// </summary>
        public bool ValiFalg { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid? TenantId { get; set; }

        public ClncDiagDict()
        { 
            
        }

        public ClncDiagDict(string diagCode,string diagName)
        {
            DiagCode = diagCode;
            DiagName = diagName;
            Ver = 0;
            ValiFalg = true;
        }
    }
}
